export const myRequest = (options)=>{
	return new Promise((resolve,reject)=>{
		uni.request({
			url:options.url,
			method:options.method ||"POST",
			data:options.data || {},
			header: options.header || {}
		})
		.then(res=>{
			resolve(res)
		})
		.catch(err=>{
			reject(err)
		})
	})
}